<template>
  <iframe :src="url" frameborder="0" class="iframe"></iframe>
</template>

<script lang="ts">
import { ref } from "vue";
export default {
  setup() {
    const url = ref(
      // process.env.NODE_ENV === "production"
      // ? "/adminWeb/html/button.html"
      // ?
      // : "/html/button.html"
      "https://www.yuque.com/cg2y8k/zvp33n"
    );
    return {
      url
    };
  }
};
</script>

<style scoped>
.iframe {
  width: 98%;
  height: 90vh;
  border-radius: 6px;
}
</style>
